package com.blue.http.message;

import java.util.Map;

/**
 * HTTP 请求响应
 * 
 * @author zhengj
 * @since 1.0 2017年3月1日
 */
public interface HttpResponse
{

	public String getResult();

	public void setResult(String result);

	public Exception getException();

	public void setException(Exception exception);

	public int getCode();

	public void setCode(int code);

	public String getMsg();

	public void setMsg(String msg);

	public String getExtmsg();

	public void setExtmsg(String extmsg);

	public void setLocation(String uri);

	public String getLocation();

	public boolean isLocation();
	
	void setDownload(Download download);

	Download getDownload();

	void setCookie(String name, String value);

	void removeCookie(String name);

	Map<String, String> getCookie();

}
